package ru.ifmo.cppsc.grammar;

/**
 * Author: Olga Komaleva
 * Date: Jun 17, 2008
 */
public abstract class Symbol {
    private final String name;

    public Symbol(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public String toString() {
        return getName ();
    }

    public abstract int getId();
}